--setDimensions
local TextField = class("TextField",function(option)
	if option and option.font and string.find(string.lower(option.font),".fnt")~=nil then
        option.UILabelType = 1
    end
	return cc.ui.UILabel.new(option)
end)

return TextField